org() {
    # This function takes an IP address as input and returns the organization name that owns the IP block.
    while IFS= read -r line; do
        whois "$line" | grep OrgName | tr -s ' ' | cut -d ' ' -f 2-
    done
}
